package com.ruoyi.books.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 非遗荣誉对象 books_honor
 * 
 * @author ruoyi
 * @date 2024-03-30
 */
public class BooksHonor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表ID */
    private Long honorId;

    /** 所属项目ID */
    @Excel(name = "所属项目ID")
    private Long honorAscriptionId;

    /** 获得荣誉 */
    @Excel(name = "获得荣誉")
    private String honorPart;

    public void setHonorId(Long honorId) 
    {
        this.honorId = honorId;
    }

    public Long getHonorId() 
    {
        return honorId;
    }
    public void setHonorAscriptionId(Long honorAscriptionId) 
    {
        this.honorAscriptionId = honorAscriptionId;
    }

    public Long getHonorAscriptionId() 
    {
        return honorAscriptionId;
    }
    public void setHonorPart(String honorPart) 
    {
        this.honorPart = honorPart;
    }

    public String getHonorPart() 
    {
        return honorPart;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("honorId", getHonorId())
            .append("honorAscriptionId", getHonorAscriptionId())
            .append("honorPart", getHonorPart())
            .toString();
    }
}
